﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace PPIMobileInterface.Entities
{
    public class EUser : EBaseVendorLookup
    {
        private static string KEY = ((Int32)Settings.User).ToString();
        public EUser()
            : base(KEY)
        { }
        public EUser(Int32 id, string name)
            : this()
        {
            Id = id;
            Name = name;
        }

        public EUser(Int32 id, string name, Int32 vendorId)
            : this(id,name)
        {
            Vendor = new EVendor(vendorId);
        }
    }
}
